package Reviewboard;
//�Խ��� ��� �Է�
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

public class ReviewboardViewController implements Controller {
	
	private ReviewboardDao reviewboardDao;
	
	public void setReviewboardDao(ReviewboardDao reviewboardDao) {
		this.reviewboardDao = reviewboardDao;
	}
	
	@Override
	public ModelAndView handleRequest(HttpServletRequest request,
			HttpServletResponse arg1) throws Exception {

//		int sb_no = Integer.valueOf(request.getParameter("sb_no"));
		
		ModelAndView mav = new ModelAndView();
		mav.setViewName("rbmain");
//		mav.addObject("sb_no",sb_no);
		
		return mav;
	}
	
}
